#ifndef __Dead6309_h__
#define __Dead6309_h__

#include "../dead6809/Dead6809.h"

class CDead6309:public CDead6809
{
public:
	union										//6309 registers
		{
		u16		W;
		struct	{	u8 F;	u8 E;	} b;
		} w;
	u16	V;
	u8		MD;
protected:
	void ModeChange();
public:
	CDead6309();
	~CDead6309();
	void Reset();
	void Step();
	void SaveState(CState *s);
	void LoadState(CState *s);
	u32 Disassemble(char *dest,u32 p);
};

#endif
